import { defineStore } from "pinia";
import { ref } from 'vue';

export const useShowChatDialogStore = defineStore('yunzhou_showChatDialog', () => {
  const showChatDialog = ref(false)

  const getShowChatDialog = () => {
    return showChatDialog.value
  }

  const setShowChatDialog = (ifShow) => {
    showChatDialog.value = ifShow
  }

  return { showChatDialog, getShowChatDialog, setShowChatDialog }
});